package usuario;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConexaoBD {
	
public static Connection pegarConexao() throws ClassNotFoundException, SQLException{
		
		Class.forName("org.postgresql.Driver") ;
        String url ="jdbc:postgresql://localhost:5432/webclassif_projeto";//altera-se de acordo com o bd, local host e o nome final
		
		return DriverManager.getConnection(url, "postgres", "12345");

	}


}
